package com.lb.activity.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;

/**
 * @author liubin
 */
@ApiModel(value = "com-lb-activity-po-Dept")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Dept implements Serializable {
    private static final long serialVersionUID = 4993014839971128549L;
    /**
     * id
     */
    @Id
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 部门名称
     */
    @ApiModelProperty(value = "部门名称")
    private String deptName;

    /**
     * 部门英文名称
     */
    @ApiModelProperty(value = "部门英文名称")
    private String deptNameE;

    /**
     * 上级ID
     */
    @ApiModelProperty(value = "上级ID")
    private Long parentId;

    /**
     * 机构等级
     */
    @ApiModelProperty(value = "机构等级")
    private Long deptType;

    /**
     * 部门状态 0有效 9删除
     */
    @ApiModelProperty(value = "部门状态 0有效 9删除")
    private Long status;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     *
     */
    @ApiModelProperty(value = "")
    private Date updateTime;

}
